package cool.mtc.minghe.service.manager.sys.user;

import cool.mtc.minghe.data.model.sys.user.dto.UserDetailDTO;
import cool.mtc.minghe.service.manager.BaseManager;
import cool.mtc.security.data.model.UserDetails;

import java.util.List;

/**
 * @author 明河
 */
public interface UserManager extends BaseManager {

    UserDetails getUserDetailsByUserIdAndOrgIdAndAuthType(long userId, long orgId, String authType);

    UserDetailDTO getUserDetailByUserIdAndOrgId(long userId, long orgId);

    List<String> listPermissionByUserIdAndOrgId(long userId, Long orgId);
}
